package com.wudi.estate.service.ownermanagement;

import com.wudi.estate.bean.ownermanagement.Pet;
import com.wudi.estate.bean.ownermanagement.Vehicle;

import java.util.List;

public interface VehicleService {

    //查询全部
    List<Vehicle>  selectAll() throws Exception;
    //根据车牌号查找
    Vehicle selectById(Vehicle v)throws Exception;
    //增加车辆信息
    void insert(Vehicle v) throws  Exception;
    //禁用车辆信息
    void prohibit(Vehicle v) throws Exception;

    //更改车辆信息
    void updateById(Vehicle v) throws  Exception;
    //模糊查询
    List<Vehicle> selectByName(String vcard) throws Exception;

}
